<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
	
	protected $user;
	
	function __construct(){
		parent::__construct();
		header("Content-type:text/html; charset='utf-8");
	}
	
	function index(){
		$this->redirect("Youjiu/Left/index");
		//$this->display("index");
	}
	
	function virUser(){
		$this->user = array(
				'username'	=> 'wangzy_smile',
				'password'	=> 'verylucky',
				'birthday'	=> '1994-10-22',
				'email'		=> 'wangzy_smile@163.com',
		);
	}
	
	function getUserList(){
		dump(D("Test")->getUserList());
	}
}